import { getArticleListHandler, getArticleDetailHandler } from '../controller/articleController.js';


export default function articleRoutes(fastify, options) {
    fastify.get('/list', getArticleListHandler);
    fastify.get('/:id', getArticleDetailHandler);
}